package com.weibo4j.api.req.relation;

import com.weibo4j.api.WeiboRequest;
import com.weibo4j.api.response.relation.FriendsGetResponse;
import com.weibo4j.api.util.RequestType;

public class FriendsBilateralRequest extends WeiboRequest<FriendsGetResponse>{

    private Integer count;

    private Integer page;

    private Long    uid;
    
    private Integer sort;

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage (Integer page) {
        this.page = page;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
    
    @Override
    public RequestType requestType() {
        return RequestType.GET;
    }

    @Override
    public String baseUrl() {
        return "https://api.weibo.com/2/friendships/friends/bilateral.json";
    }

    @Override
    protected Class<FriendsGetResponse> responseType() {
        return FriendsGetResponse.class;
    }

}
